<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
</head>
<body>
 <!-- <?php  $sql="select * from booktype"; 
$row = mysql_query($sql);
//$result = mysql_fetch_array($row);
 ?> -->
<form action="admin.php?c=book&m=add" method="post" enctype="multipart/form-data">
<table>
<caption>添加图书</caption>
<tr>
  <td>图书名称：</td>
  <td><input type="text" name="bookname"  id="bookname" size=30  >
  </td>
</tr>
<!-- <tr>
  <td><input type="text" name="tid" size=30  id="tid" ></td>
</tr> -->

<tr>
  <td>图书类型：</td>
  <td><select name="bookid" class="form-control">
                <option value="0">请选择</option>
               <!-- <?php foreach($row as $one){
                  echo '<option value="'.$one['bookid'].'">'.$one['typename'].'</option>';
                  }  ?>  -->
        <option value="1">科技类</option>
        <option value="2">人文类</option>
        <option value="3">小说类</option>
        <option value="4">动漫类</option>
        <option value="5">杂志类</option>
        
      </select>
                <!-- <option value="1">沙发</option> 
                <option value="2">衣柜</option>
                <option value="3">餐桌</option>  
                <option value="4">椅子</option> -->
             <!--  </select></td> -->
</tr>

<tr>
  <td>海报:</td>
  <td><input type="file" name="pic" size=30  id="pic" ></td>
</tr>

<tr>
  <td>内容简介:</td>
  <td><input type="text" name="intro" size=30  id="intro" ></td>
</tr>

<tr>
  <td>添加日期:</td>
  <td><input type="date" name="uploaddate" size=30 id="uploadadmin"></td>
</tr>

<tr>
  <td>上传用户:</td>
  <td><input type="text" name="uploadadmin" size=30  id="uploaddate"></td>
</tr>

<tr>
  <td>借阅次数:</td>
  <td><input type="text" name="borrytime" size=30  id="borrytime" ></td>
</tr>

<tr>
  <td>推荐次数:</td>
  <td><input type="text" name="hittime" size=30  id="hittime"></td>
</tr>


<tr >
	<td colspan="2" align="center">
		<input type="submit"  value="提交"></input>
		<input type="reset" value="重置"></input>
	</td>
</tr>
</table>
</body>
</html>